﻿using System.Drawing;

namespace Boxman {
    // 常量
    class Const {
        // 关卡
        public const string LEVEL_FILE_PATH = "./level/{0}.txt";                    // 文件路径
        public const int LEVEL_COUNT = 15;                                          // 总数

        // 图片
        public const string IMAGE_FILE_PATH = "./res/{0}.png";                      // 文件路径

        // 定时器
        public const int TIMER_INIT = 500;                                          // 间隔

        // 格
        public const int GRID_SIZE = 30;                                            // 尺寸

        // 游戏区域
        public const int GAME_BOARD_GRID_COUNT_H = 12;                              // 横向格数
        public const int GAME_BOARD_GRID_COUNT_V = 12;                              // 纵向格数
        public const int GAME_BOARD_WIDTH = GRID_SIZE * GAME_BOARD_GRID_COUNT_H;    // 宽度
        public const int GAME_BOARD_HEIGHT = GRID_SIZE * GAME_BOARD_GRID_COUNT_V;   // 高度
        public static readonly Color GAME_BOARD_COLOR = Color.FromArgb(0, 128, 0);  // 背景色

        // 状态栏
        public const int STATUS_BAR_PART_COUNT = 2;                                 // 格数
    }
}
